#include "ShipInvisibilityMonitor.h"

using namespace view;

ShipInvisibilityMonitor::ShipInvisibilityMonitor(void) : SDLProgressMonitor()
{
}

ShipInvisibilityMonitor::ShipInvisibilityMonitor(int min, int max, int current) : SDLProgressMonitor(min, max, current)
{
}

ShipInvisibilityMonitor::~ShipInvisibilityMonitor(void)
{
}

void ShipInvisibilityMonitor::update(Observable* shipInvisibilityProperty)
{
	ShipInvisibilityProperty* shipInvisibility = static_cast<ShipInvisibilityProperty*>(shipInvisibilityProperty);
	currentProgress = shipInvisibility->getProgress();
}
